import QtQuick 2.12
import QtQuick.Window 2.12

Window {
    visible: true
    width: 640
    height: 480
    title: qsTr("Hello World")
//    Text {
//        text: "The quick brown fox"
//        color: "#303030"
//        anchors.centerIn: parent
//        font.family: "Ubuntu"
//        font.pixelSize: 28
//    }
    Text {
        width: 40
        height: 120
        anchors.centerIn: parent
        text: 'A very long text'
        elide: Text.ElideMiddle
        style: Text.Sunken
        styleColor: "#FF4444"
        verticalAlignment: Text.AlignTop
    }
}
